package com.xuecheng.learning.feign;

import com.xuecheng.framework.client.XcServiceList;
import com.xuecheng.framework.domain.search.TeachplanMediaSearch;
import com.xuecheng.framework.model.response.QueryResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(XcServiceList.XC_SERVICE_SEARCH)
public interface CourseMediaSearch {
    @GetMapping("/teachplan/media/{teachplanId}")
    QueryResponseResult<TeachplanMediaSearch> getTeachplanMediaByTeachplanId(@PathVariable("teachplanId") String teachplanId);
}
